Impulse changes

Finally got around to updating github with the changes I made over the past couple months.