fixed some typos.
updated kd graph.
more explicit in the bcs