Corrected seg fault due to array -- replaced by vectors
Created by: ebrianne
Fixed a segmentation fault due to static constant defined for layers... created vector instead
Created by: ebrianne
Fixed a segmentation fault due to static constant defined for layers... created vector instead