Safety improvement in railway using the RIMON system