As your code is not a reproducible example, there's no way to say what's 
going wrong exactly. The error message is telling you that you are trying 
to access an array out of bounds, so it would be necessary to know the 
sizes of the arrays in your code to find the error. 

Two other things:
- Julia is case-sensitive, so it might be problematic to refer to "sib1" in 
the first line and "Sib1" in line 9.
- nested loops can concisely by written as: "for v=1:4, par=1:4 [code 
block] end" (see 
http://julia.readthedocs.org/en/latest/manual/control-flow/#repeated-evaluation-loops)

Reply via email to