small changes to biascorrect
bias field correction using sparse computation works