update cons_elem_wei.m
update test.m