Mathematical Library for Computer Graphics