Added 3D fd matrix building for regularization

This will allow 3D smoothness and Total Variation.
Added Smoothness3D regularization
Added 3D Total Variation regularization