Clean up
Avoid warning for strict inequality
Fixed for repmat to nD-arrays
Wrong test for indefinite QP