Added rank method to nbinom_gen
Moved cdf and pmf plotting to end of main
Added residual plotting string
Reformatted figure to take two subplots
Added residual calculation