got the squared error plots working