An improved device for conversion of mechanical energy from sea waves to electric energy