Using float32 in VA

Using float32 for all inputs, ouputs, random sampling matrices and
parameters in NN to speed up for both cpu and gpu settings.