Brainextraction

Your approach to the bounding box is a quite reasonable one, but because of the way that numpy manages memory it becomes very slow for dense volumes (where many points are non-zero).

I've also added a few tests for the bounding box.

If you merge this it'll be incorporated into https://github.com/nipy/dipy/pull/210.