Fixed an error in setting the format for the 'b' vector.