Bug in sparseAutoencoderCost