simplified eval_op loop
added shape_of
added code for overtake of rank > 1 arrays