Community Tip - You can change your system assigned username to something more personal in your community settings. X
Will be exposed in a new work sheet
There is no bug.
You are calculating L incorrectly. It should be length(Y).