fixed two issues, updated mchof docs for fold and reduce