Replaced abs() function.

Replaced the abs() function in the assignment of the parameter
nSegHexTan as the return value of abs() is a Real which causes a type
error during model check.