Making sure that all trajectories are numpy arrays
Merge pull request #476 from josenavas/grad_bug

Making sure that all trajectories are numpy arrays