Optimization

Couple of optimization on the most call intensive functions.

The isset change is far less important than the array_map one which saves ~50% of time on the examples/bayes.php script.

(Even if I must admit this is very ugly.....)