Dynamic Distributed Monitoring of Masonry Railway Bridges