Why can't I do multiple calculations using $calc?

http://pastebin.com/f5251d393