DEV: Put virtual methods in Matrix class