Use inheritance for splineBasis; implement penalised likelihood (incomplete)