Initial commit from code in DIWASP1_4 zip