Added math and timer libraries and tone generator