Python/Numpy implementation of https://norx.io/