Refactor init_signature
Fix egregious bug in language weight generator
Tweak language weights