HeadSpin.h cleanup

Clean up some unnecessary and unused stuff, mostly from HeadSpin.h.  Switch to STL versions of common routines (e.g. ```min``` and ```max```) where applicable.
True, but it ended up being used in a lot of places :/