adding caching to sigmoid learners
merging cachedspeedup