Code now fits properly

Fixed the parameter order in the decay function