modifications for paragraph vector based on cross entropy error