Updating SDAE to use weight sharing

Also updating tex file