ENH: Implement cost function

1. When model and image are aligned in 3D Slicer, then model is in RAS
space (slicer space) while image is read in as LPS space (ITK space).
Need to convert model from RAS to LPS space so that the relationship
between them is the same for slicer vs. itk.