fix rounding issue when delta is less than 0
Bumping version to 3.1.1