Messy - refactored code to remove variably size NStop tables. Needs clean up
Cleaned up functions that revolve around stoptables. Arrays are now dynamically allocated instead of variably sized