On a penalty finite element CFD algorithm for high speed flow