Added to test to determine the behavior of the BLAS and intialize the me...

...mory as needed to avoid unexpected NaN's.
You use the variable name z, b bellow, but I don't see them in that formula.