Bio-Inspired Artificial Neural Networks based on Predictive Coding