trial1. some output are nan. perceptor is 1 run.