Optimality of Two and Three Factor Designs