Fixed incorrect directory name resolution in reduce_SdA, and a typo in the multiproc version.