basic legendre function
Merge branch 'master' of https://github.com/mne-tools/mne-cpp