Geometric measure of entanglement