Using FPGAs to Implement Artificial Neural Networks