Fixes Image.findMotion

findMotion made too many call to a slow function. _updateExtents is much faster
now, and my tests showed findmotion coming from 15 to 4.8 seconds.
Merge pull request #549 from victsou/findmotion

Fixes Image.findMotion