New `spec-calc.php`

Closes #1