changed elements of tangent bundle from dicts to objects