fixed up plotChart added RDF support, minor bug fix in neighbor calc