issue381, multicache for cBioGen

Like I said, can you tip me for performance test ? 
And am I duplicating code ? 

Also, `cbegin` and `cend` are C++11 and won't compile in MSVC2008.