miscellaneous computational finance stuff