Updated toyTest3.m