New spectral cubes PR

Fixed other commits appearing in the other PR. @Cadair, could you please close the other one?
@dpshelio, I tried it with an EIS cube and it seems to work fine... how does it fail in your case?