Added fancy widget_matrix function along with a demo in