added new function to ModelAnalysis class which can be used to get value from given time layer