Fix bugs in angle and dihedral table potentials

refs #772
Add example scripts for angle and dihedral tables

refs #772