Creating new branch for gerrit review
InverseTransform() function now checks if inverse can be calculated, and sets it to identity matrix if inverse does not exist.
HasModel() function added which will check if a model list with a given name is supplied in the parameter file.
Edited comments
Code can now handle 2D inputs
SetDefaultScales() function added
SetDefaultScales() function added