Jma: Several changes focused on getting flattening and mesh building working on OSX 10.6 and 10.8 

changelog:

changed calls from finite() to isfinite(), because finite.m is gone now.
classData added to dictionary (identical to hiromasa's change)
Fixed curvature.cpp and smoth_mesh.cpp so they can work with 64bit vtk id's.
Fixed loading of class files so they respect orientation information in header and get loaded the same way as the volume anatomy. 

Outstanding issue:
readClassFile.m: class.header.qto_xyz is being set to the wrong value. I'm not sure where this field is used, and it doesn't seem like it used to correspond to the class data anyway.