A comparison of neural feature extraction methods for brain-machine interfaces