Fixes array broadcasting in spectral cube and adds unit test

Fixed doc links
Merge pull request #141 from ellisowen/spec_cube_bug_fix

Spec cube bug fix