Changed name of cleanup method back to close(), added return value on error to convertToFloatArray method