Learning of Geometric-based Probabilistic Self-Awareness Model for Autonomous Agents