enable calculation of polygon moment with cython

bit new to cython but I think this is correct.