added function to datamanager for getting all sensors in a network
reverted to proper index