Changed Weight to float.
Revert "Changed Weight to float."

This reverts commit dd3e00aeb8ba275dc10b25bc426e30d2abd4979a.
Revert "Revert "Changed Weight to float.""

This reverts commit 393c307e769551a9dd301015830f598e088049df.