Removed gmodels dependency