Hey Sabby,
Pottasium (Spelling ?) Try having a half of a bananna right before bed. Also stretch about 20 mintues before bed with leg, back, heel and foot. I had the same thing you are describing and it took a long while to try and figure it out. Blueberries are good to if you don't like bananna's.
Good Luck with all the advice you receive and let me know if it worked for you or not. Hugs
ThaCrew
your in pain.