Extracted Weight value generation to logic project

New weight initialiser created