Fixed pointer issue and altered systems index ref - DOES NOT WORK

Iterating through the systems vector is WRONG. Fix it, yo!