triCopy added

Added function to copy the contents from pd.tri_hold to the a,b, and c
vectors.
Added header for triCopy
updated pdInit and lots else

removeed pd.m as pd.m=pd.Ny, made appropriate edits to malloc.
Added pd.dx to GetDATA
changed pp.x to pp.r , many functions will need updating.