B argument and dots removed
update according to changes in the nplr function