You can add a conversion factor to the field formatting to convert from cubic inches to cubic yards.
As for the Mass Element - I've never worked with one so I don't know the ObjectName, but I should imagine it would be a case of using an IF statement whilst iterating through the SelectionSet, and if the object is a Solid, use one field code, if a Mass Element, use another.