Bug fix function notation in asciimathteximg
Bug fix calculated value on NaN