Updated OP_SIZE, small_size, small_mode, small_direction

Updated the error made in Read_OP_SIZE,. Also wrote the filters and
READ_EXT_SIZE, READ_SMALL_MODE, READ_DIRECTION and some specific case.