Inverse Function Theorem for Manifolds