added test to check that RandomGov constructor rejects input that uses categorical predictors.
added S3 class constructor for RandomGov class. The file is tested with test-randomGov.R.