calculates the slope style score