move non struct-definition functions to vertigo.core, and factor out primitive-math stuff
Merge branch 'master' of github.com:ztellman/vertigo