Set the category 0 as the reference category to be consistent with R.nnet

Make the signs of coefficients to be consistent with R.nnet

Remove numcategories parameter and add ref_category parameter

Update unit tests

Add prefix __ to internal functions and add STRICT to public functions

Add more parameter checking