Added function documentation in removelines.m