Updated optimizer API to give eval function the current point position