removed redundancies that caused warning messages
added the z*=f'x constrain to Euclidean Normalization