XD-1338 Ensure Calculated Partition is Positive

Apply abs() and % to any partition selection

Changed 'divisor' to 'partitionCount'.