New spectral cubes PR

Fixed other commits appearing in the other PR. @Cadair, could you please close the other one?