Correct error

Correct index out of bounds error in initialization method 2 (cyclic ones)