updating copyrights
support for weights, plus bug fixes
updated copyrights