Calcuate Slop