Implemented mesh output to OBJ file format