Finished new kernel and altered driver.m for debugging.