An Improved Parameterized Algorithm for Treewidth