removed categorical_log, added vector/matrix log_sum_exp, improved categorical_logit speed when not vectorized