Going to update again in a few minutes. Also, sigmoid.m is no longer being used