Determining Sentencing Recommendations and Patentability Using a Machine Learning Trained Expert System