Fix naming of activation functions in R, now consistent with Java API.