minor bug fix for when posterior is all NaNs for all datapoints (e.g., sd=0). nansum does something uinintuitive
minor bug fix for when posterior is all NaNs for all datapoints (e.g., sd=0). nansum does something uinintuitive

visionlab/MemToolbox