add error types and calculators
add Picard class
add tests for Picard