fixed bug in array2d prob calc for BA.