Added function to decompose a mass and give nice output table