fixed copy/paste bug in np.c which stopped adaptive bws + trees from working properly