spes calculus