Fixed some kind of missing math files, copied from https://github.com/orian/fann-1