added zp_lib folder

contains:
template extraction with DC, zeros, and (some) entropy
template energy and gaussian filter functions
altered files from af_lib
some silly, old attempts that might come in handy