Modifications to transfer function fit.