Added draw functions to mesh. Deleted some unnecessary code.