Make sigmoid.m a common file