Moved ewald sum to cython file