Catmul-rom curve in python Note: I didn't implement like python-style (to convert C++ or java).. More info, see wikipedia