Calculus memory with Sum and summatory

Also, some base for unit tests