Implemented stage 4

Since stage 4 consists of dmem and pipeline registers, and dmem is
external, there is really no need to include dmem input in stage 4. The
suggested change is illustrated in the Stage 4 drawing on google docs.