calc_rumple function

Calculates rumple