New code for MDMR and associated functions

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Add support for selecting regressors (cols) and specifying blocks to permute (strata) to cwas wrapper function

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Also add support for cols and strata to further higher-level cwas wrappers

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Update cwas pipeline function for the new mdmr boy in town

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Merge branch 'development' of https://github.com/FCP-INDI/C-PAC
weird indent issue

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
use new mdmr function name

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Add new inputs to calc_cwas connection

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
fix calling mdmr function

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
fully unpack mdmr output

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Compute subject connectivity maps and distances with separate functions; CWAS calculated for a range of voxels

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
bug fix: read in all voxels not only batch

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Split up calc_cwas code into distance and MDMR computation

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Add cwas to __init__ file so it will be included in future installs

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
New tests of the mdmr wrapper function

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
small fix to test feature

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
Flipped the assumed dimensions of dmats to mdmr

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
fix to distance matrix shape

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
set gower back to normal
fix distance shape to mdmr