A fast implementation of forward energy using numpy. Can probably be made even faster. Will hopefully be added to scikit-image