removed full_partial_fraction from the PR +  made some minor changes