Added loss function interface and MSE. Minor modifications at bias and dot product components, token memory block, and gpu mirrored memory block