Lambda calculator new version, new main_chm template, calcualates lambda