for numpy 1.6
Merge pull request #24 from mhvk/older-numpy

for numpy 1.6