Matrix Code 2.0 (Update)

-Algorithm redone