How do you accurately calculate cost basis when purchase information is unknown or when securities have complicated histories?