the nPoint function is well documented now, still has bugs.