Calculus for Computer Graphics