Add inverse temperature parameter clipping to prevent it from going negative