Added discriminant function, empty input and output functions, prototypes