Added perspective matrix function. More .obj loader code.