adding matrix version of feedforward method