Comments; moved phi_n method out of classes; condensed code