Elemwise output is now fortran when all inputs are fortran.

This speed up hard_sigmoid and ultra_fast_sigmoid by 2x.

We ignore input that are broadcasted scalar when checking for fortran
inputs.
Fix indent (not wrong code) and better comment following code review.
Add doc file to the toc
use simpler elemwise code for [broadcasted] scalar.