function sigmoid($t){ return 1 / (1 + exp(-$t)); }
public function sigmoid($t){ return 1 / (1 + exp(-$t)); }