New system layout

Added a function check if the order matrix is empty or not.