deb_decimal function

A decimalized class for tripartite and tetrapartite values