Geometrical description of quantum mechanics—transformations and dynamics