Implemented a function to find the bounds of a parallel loop
Properly implemented Parallel Bounds function, will attempt to make it better