Usually when it's telling you that you have an "unitialized" local variable, it means that you accidentally misspelled it, and the computer isn't looking for your variable, eg, "msp" instead of "mps".
This may not be the case, but that is always what it has been for me.
Good Luck
Edit:
Oh, wait, that's obviously not your problem. Well...I dunno lol :D