Math and computation geometry functionality for cornerstone