complementary filter

let's work on implementing a simple complementary filter here. I had to redo some of the code from scratch because I deleted some of it by accident earlier today when I redid my workspace.