patched features.pyx for numpy array input