add system matrices