Phong shading, some bugfixes