Revert "Updated with new code and formulae"

This reverts commit 5919fbe6f89a22c0d0db8c0c50ea8923cdcf9358.
Revert "Updated stupid error"

This reverts commit f68296594efbe3b89b14f997f2d4de29bad25032.
Revert "Added input sig cond for prom"

This reverts commit 360c8dc3c0bd62028101b1d3b72bc80e9eeb4c12.
commit