System and method of sentiment modeling and application to determine optimized agent action