Prevent computations in float16 in scalar and elemwise

Also add a bunch of tests
In fact, nout is not used, so you can remove like lines 858-860