Updated sample.m to work properly