implemented feedforward function; next up, random initialization