Performance fix. Double sigmoid bug fix
Performance fix. Double sigmoid bug fix

Instead of calculating sigmoids on every sample iteration - which led to
matrix allocations - we now store the sigmoid matrix in each layer. ALso
fixed the bug where sigmoid has been applied to already sigmoid-ed
output

milosgajdos83/go-neural