Added wireframe code
Corrected errors