added degrees of freedom js logic to start menu

menu now lets user choose degrees of freedom; also changed time that
the “win” window fades