add tools fro creating SpectralCubes from spectral_cube.SpectralCubes.
mpfit: rank is deprecated in np 1.9