[#94] Fixed bug when INSERT has the wrong type.
[#94] Added better bench test

Using distance formula
[#94] Fix tests
[#94] Coverage and docs
fixes #94