Matrix total buggy but tryed to fix it