fixed grapher usage + implemented pointwise mutual information