Helper, calculates the partial linear feedback contributions and puts in MSB
Input number
Input index
Helper, calculates the partial linear feedback contributions and puts in MSB