Self-Supervised Learning by Curvature Alignment