helper function to format result
formatFunc(IN)
IN
the object to be formatted
a formated matrix of results
Rhonda Bacher