fix for numpy arrays not being sequences.
Merge pull request #356 from scopatz/x

fix for numpy arrays not being sequences.