fixed std::abs and std::isnan references in lassq