adding one element example
ading 1d book codes to run tensor prod example
fixing addpath