Added variance_test method
Deleted extraneous debugging statements