added exponential fit helper functions