Init improvements at calculations.
Setup rspec
Changed behavior of calculations with/out contracts.