fixed cython wrapper int to float issue