Modeling frustrated total internal reflection in Non-Sequential Mode