removed the starts of the weighted shuffle and fixed soft flip toggle

added comment and blank line removal