Fixed camera matrix calculations.