Geometry of Knowledge for Intelligent Systems