Scrapping Estimator for Core

Defined new Core module. Estimator was getting too messy.

Implemented init_by_size methods for Affine, AffineLayer and
TransferLayer.

Midway through implementing CostWrapper.