Testing out finding closest parameter value.