added tranfer entropy and new options