Improved CuTCNQ resistive non-volatile memories and a statistical study on their threshold voltage