speeding up slow functions in general mesh. Fix for ticket 201. Also checking in GA validation test for profiling fitting