Fixed bugs in Neighborlist