Implemented the phong shading model