update matrix types for image_geometry api change, #87.