Omri Casspi agrees to terms with Minnesota Timberwolves