Fixing the projections matrices functions - now they all work!