Made matrix more interactive