A working Python wrapper around the thinning routine using Boost.Numpy