Fix dot placement formula

- The formulas on line 417 and 418 were incorrect
- Add comment above initialization section
- Place initial dot onto screen
- Add code to erase dot at previous location