Fix parameter types for training data, sigmoid utility functions