Added texture code
Fixed texturing issues and changed geometry to use vec4 homogeneous coordinates instead of vec3