sparseAutoencoderLinearCost
step 2