Fixed weights bug
Merge branch 'development'