Fixes to the model xfm code. Small readme usage example