Fixed Determinant

removed recursive 0 multiplication and simplified an if statement