Add comparison with two tama curves.
check for nan instead of length.