First sumbit, tested with matrices