dmall function

Calculate the density of rankings under a Mallows distribution