fixed periodic and finished sheet 5
added MATLAB