some table css
new gems
udpated dia with new calculate model