fix issue #1: remove deprecated MALLOC_ flags in 2d test
bump version to 0.3.1
Merge branch 'hotfix-failed-test-nfft'