Sentence:  The president of the firm , <WSD>calculating</WSD> expenses alone , felt his costs had dropped one-half while success in selection had improved over one hundred per cent . 
Meaning of the word marked with <WSD> tags:  make a mathematical calculation or computation