Use the Rahmati fitting formula instead of the code until the code is fixed