Removed spurious  echo '## Set matrices to zero' - thanks Geraint