corrections to cython file, switched dtype to double