added method to set coord_type and image test
Merge pull request #70 from anizami/set-coordinate-type

added method to set coord_type