fix spelling in comments

"do determine" -> "to determine"