Bugs

Fixed bugs and improved Variable WPM algorithm