.m for study of chaos project.