Adding draw to mesh
added variables to mesh header
fixed compile error