This does not affect results, but in the VRM function, the lines commented as xraster and yraster are switched. sin.asp should be "#xraster" and cos.asp should be "#yraster". They are used correctly in subsequent lines that use x.sum and y.sum (i.e. x.sum is calculated using sin.asp which is xrast even though it is commented as yrast).
This does not affect results, but in the VRM function, the lines commented as xraster and yraster are switched.
sin.asp
should be "#xraster" andcos.asp
should be "#yraster". They are used correctly in subsequent lines that usex.sum
andy.sum
(i.e.x.sum
is calculated usingsin.asp
which is xrast even though it is commented as yrast).