update batch_mode to handle non constant matrices
update batch_mode to handle non constant matrices

aitatanit/filterpy,BrianGasberg/filterpy,rlabbe/filterpy,aitatanit/filterpy,Censio/filterpy,Censio/filterpy,BrianGasberg/filterpy,rlabbe/filterpy