WAVE-FUNCTION COLLAPSE BY MEASUREMENT AND ITS SIMULATION