added option reflect to procSym (and underlying functions) and added copyright note for code copied from shapes package