Added ex7. Some components of ex7.m are broken