made it more textbook PDP-like; renamed some units; added (nonfunctional) attention layer