Create linCheck.m