Computing Compound Amount