Implement the Fletcher-Reeves method