continued bugfixing for the patch
continued bugfixing for the patch

mikelum/pyspeckit,allisony/pyspeckit,e-koch/pyspeckit,allisony/pyspeckit,jpinedaf/pyspeckit,jpinedaf/pyspeckit,vlas-sokolov/pyspeckit,pyspeckit/pyspeckit,keflavich/pyspeckit,low-sky/pyspeckit,e-koch/pyspeckit,pyspeckit/pyspeckit,mikelum/pyspeckit,low-sky/pyspeckit,vlas-sokolov/pyspeckit,keflavich/pyspeckit