Added first and second derivatives for multimods, using reduce map w/ hcat for firsts and dcat, which concatenates w/ block diagonals, for seconds.