added perspective function.

Perspective function can create perspective projection matrices.
Also included are to_degrees and to_radians for angle conversions and
pi.