updated simprocs and sample derivation
added latex templates