Added cellStr2mat

converts cell arrays of strings to a matrix of doubles.

Also a minor update to findCriticalPoints