Fixed bug

There was an error in dihedral scaling (they were scaled with
sqrt(lambda) also if both terminal atoms were in the hot region)