Started adding feedback calculation.
Refactoring vector padding to a method.
Changed predict_idx padding to use pad_vector method.
Changed vector initializations to use self.pad_vector
Changed pad_vector from method to function.
Refactored mean calculation.