Function elasticIn