actor module: moved sensor algo into Agent class