'velposmax' algo basically working.
add cyclomap.  compiles, not tested.
stuff wired up, compiling