the error list says the error occurs in Column 30. By my count, that in the middle of the AlphaStep variable.
Hard-coding the logic is removing this error. i.e. FOR alpha = 0 TO 370 STEP 2 I don't know where exactly the problem is. I'll try incorporating with your suggestions.
Thanks