Add explaination on how to calculate the output of single and multi layer perceptrons.