Added partition conversion functions and modified some of module 7 functions