fixed wrongly transposed array - spectral axis now always comes first.