fixed for loops to have size of entities fixed, not sure if useful for threading.
fixed for loops to have size of entities fixed, not sure if useful for threading.
found pesky relative coordinates bug