Updated rest of library to noallocs code, testing