change: operator% and operator%= move into matrix_type class.

Signed-off-by: Godai Azuma <godai0519@gmail.com>