Move multiplication by G outside of the calculate_acceleration method