added optional argument to the Pyramid constructor that specifies the permutation of dimensions to use when applying a partition and binning a point