remove circular dependency between matrix.h and linear_system.h
sort headers