function [Vmaxs,imaxs] = getMaxs(waves)

    [Vmaxs(:,1),imaxs(:,1)] = max(waves(:,:,1));
    [Vmaxs(:,2),imaxs(:,2)] = max(waves(:,:,2));
    [Vmaxs(:,3),imaxs(:,3)] = max(waves(:,:,3));
    [Vmaxs(:,4),imaxs(:,4)] = max(waves(:,:,4));
    
end