Math nerd gets kinky with equations and sex