Updated `spec-calc.php`
Updated function name
Merge pull request #2 from vfalconi/new_spec-calc

New `spec-calc.php`