This does basic calculus functions