split into subfunctions
Merge branch 'master' of https://github.com/mjuric/orbfind
Reorganized into subfunctions; wrote angular velocity code.