photos, matlab script nearly done