corrected compunding formula; corrected None bool