Accidentally deleted the deadband function in the last commit. Fixed.