add cython function to convert pele::Array into numpy array
add array length checks to simple_pairwise_potential