Finished implementing RepresentationNetwork class.