Handled a problem when there are multiple b=0 data.  The return was a matrix (coords x nB-=0).  Took the mean of the columns as the b=0 values.  This is necessary for the calculation.
Handled a problem when there are multiple b=0 data.  The return was a matrix (coords x nB-=0).  Took the mean of the columns as the b=0 values.  This is necessary for the calculation.

Also comments added at the top.

scitran-apps/dtiError