removed creation of a binary mask
added check if threshold is inside volumes range
Merge branch 'isosurface'