MathUtil and basic Piece move