Simple utility and convenience functions such as vector math, coinflipping, and ffts used by roughsoft.