Partitioning code now almost complete for Periodic Gaussian Mixtures, added more unit tests