Fixed STNDRD

With the old function, `STNDRD(111)` would return "st", and not "th" as expected.

It is also ~350% quicker in standard Lua, unsure of LuaJIT.