Added example of using tile instead of repmat