C parser now supports SCS generated tans
Fix off by 1 error in TAN generator