MAINT: improved numpy and scipy version comparison
MAINT: allow numpy version 1.5.0+ but prefer 1.6.2+