Update Fully Commented

Added a NaN test. made adjustments to the console printout.