add procedure accumulate-n
add procedures for computing matrix