Remove usage of sp.h

Also, add `sphia_error` for abstracting `sp_error`.
typo
Merge pull request #37 from sphia/remove-usage-of-sp-h

Remove usage of sp.h