forward prop code

partially added code for forward propagation; added auxiliary methods to
convert between BlockRealMatrix and ArrayRealVector, as well as a method
to account for the 0th unit