changed the matlab visulaization so that it is clearer.