adding errors on weights and fixing bug in datanormshape other backgrounds and datashape weights