ported unit framework from Cody to new master branch. Changed mech_dissip_jac to use mech_dissip