Fixed tests for calc functions and started css for UI