Updated code

runs a 10 x 10 matrix by smoothly and as brightly as possible.