fixed resistance function to be more flexible and added cold/cool/warm classifications for CT DEEP