adding utility method to add random connceted line to palmer stimuli