Fixed perspective projection and added parallel projection.