added recursive addition of matrices via fold