added cgt calculator

Fixes #15