Added library interface for simple calls.

Compiles, but is not called anywhere, and is not used.

Functions for returning SASA-values are still missing. Might need som hacking.