Fixed typos.
Changed restrict to a function.
Added test file.
New build.