Fix bug that occurs if push and pop to FIFO at same time
Fix decoding of octant

The bits needed for the octant argument was off by one towards the left MSB
Add APB signals before code insertion to mimic first state of APB transfer