FastMap: Revisiting Structure from Motion through First-Order Optimization