Calculates the hexatic order parameter from spencer1997