Code written with Martin Overstrom and Jason Moskowitz for Virginia Tech's ECE 4534.