Added parallel loops, parameterization, and initial definitions