adding in deletion of the bMatrix