Added cot(x)
Fixed perspective projection matrix creation not taking the cotangent of the of the field of view.