Expanded Grid interface, added math utils.