got rid of numpy dependency to fix travis.ci build