rebase toolchain patches
MP: refactor feature vector calculations loop
MP: change edge connection while with do-while loop
MP: add toolchain patch for compiler flags