Added multi-add functionality.

completes #119